package com.jic.manager.service;

import java.lang.Long;
import java.util.List;

import com.jic.common.base.vo.RestResult;
import com.jic.manager.entity.MestoreSupplier;
import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;

/**
* 供应商店铺
* @author : 
* @email : 
* @since : 2020-02-26 09:39:51
* @version : v1.0.0
*/
public interface MestoreSupplierService {

    long insert(MestoreSupplier mestoreSupplier);

    long delete(Long id);

    long update(MestoreSupplier mestoreSupplier);

    MestoreSupplier queryByPrimaryKey(Long id);

    List<MestoreSupplier> query(MestoreSupplier mestoreSupplier);

    PageResult<MestoreSupplier> queryPage(MestoreSupplier mestoreSupplier, Page pageQuery);

    RestResult<String> saveSupplierInfo(MestoreSupplier memStoreSupplier);

    RestResult<String> delSupplierInfo(Long id);

    RestResult<String> upSupplierStatus(MestoreSupplier mestoreSupplier);

    //查询供应商详情
    RestResult<MestoreSupplier> getSupplierInfo(MestoreSupplier mestoreSupplier);
}